package com.baosight.sczx.zm.ce.service;

import com.baosight.iplat4j.core.ei.EiInfo;
import com.baosight.iplat4j.ep.ServiceEPBase;
import com.baosight.sczx.common.zm.basetools.StaticTools;
import com.baosight.sczx.zm.ce.domain.ZMCEStandredEquipment;

/**
 * <p>Title: ServiceZMCEB6.java</p>
 * <p>Description: </p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2002</p>
 * <p>Company: Baosight Software</p>
 * @author 张志芳
 * @version 1.0
 * <pre>Histroy:
 *          2011-12-20 下午05:39:27  张志芳  Create
 *</pre>
 */
public class ServiceZMCEB6 extends ServiceEPBase {
	/**
	 * 初始化
	 * <p>Function: initLoad</p>
	 * <p>Description: </p>
	 * <p>return value: ServiceZMCE91</p>
	 * <p>throws Exception:</p>
	 * <p>History:
	 *    2011-12-15下午02:37:59 张志芳
	 * </p>
	 *
	 */
	@Override
	public EiInfo initLoad(EiInfo inInfo) {		
		String fdParentId = inInfo.getString("fdKeyId");
		StaticTools.setQueryParameters(inInfo, "fdKeyId", fdParentId, true);			
		EiInfo outInfo = super.query(inInfo, "ZMCEStandredEquipment.query", new ZMCEStandredEquipment());
		return outInfo;			
	}
}
